// 通用的 chip 配置
export const commonChips = [
  { label: '细胞类型', path: '/cell-config', closable: true },
  { label: '突触机制', path: '/syn-mechs', closable: true },
  { label: '连接规则', path: '/conn-rules', closable: true },
  { label: '亚细胞连接规则', path: '/subcell-conn-rules', closable: true },
  { label: '反应扩散', path: '/reaction-diffusion-region', closable: true },
  { label: '刺激目标', path: '/stim-targets', closable: true },
  { label: '绘图设置', path: '/plot-settings-raster', closable: true },
  { label: '细胞群体', path: '/populations', closable: true },
  { label: '刺激源', path: '/stim-sources', closable: true },
];

// 带有主要标签的 chip 配置
export const getChipsWithPrimary = (primaryLabel: string, primaryPath?: string) => {
  return [
    { label: primaryLabel, path: primaryPath, primary: true, closable: true },
    ...commonChips.filter(chip => chip.label !== primaryLabel),
  ];
};

